<?php
namespace app\index\controller;
use app\index\controller\Base;

class Index extends base
{
	
	public function index()
    {
    	$articleres=db('article')->order('id desc')->paginate(8);
    	$this->assign('articleres',$articleres);
        return $this->fetch();
    }


		public function article()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function article_fullwidth()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function category_sidebar()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function img()         
		    {                           
		    	return $this->fetch();    
		    }                           
				
		public function index_center()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function index_nosidebar()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function index_noslider()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function lw_log()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function lw_re()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		public function timeline()         
		    {                           
		    	return $this->fetch();    
		    }                           
		
		                
		  
}                   